lcBlockAddSpiral LiteCAD API

Adds a new spiral object into a block.

 HANDLE lcBlockAddSpiral (
   HANDLE hBlock,
   double Xc,
   double Yc,
   double Radius,
   double Turns,
   BOOL bDirCW,
   BOOL bClosed
 );

Parameters
hBlock
  Handle to a block.
Xc Yc
  Center point.
Radius
  Radius of outer circle.
Turns
  A number of turns.
bDirCW
  Clockwise direction.
bClosed
  Closed shape, i.e. spiral has outer circle.

Return Value

  Handle to created spiral object or NULL if the function fails.